package com.kx.yooli.kx.wechat.entity.nplm;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Table(value = "NPLM_REPAY_PLAN",dataSource = "dh")
public class LoanRepayPlan implements Serializable {

    @Id(value = "ID")
    private String id;
    @Column(value = "LOAN_NO")
    private String loanNo;
    @Column(value = "CUST_NAME")
    private String custName;
    @Column(value = "REPAY_STATUS")
    private String repayStatus;
    @Column(value = "IS_OVERDUE")
    private String isOverdue;
    @Column(value = "LOAN_INSTALMENTS")
    private int loanInstalments;
    @Column(value = "PHASE_NUMBER")
    private int phaseNumber;
    @Column(value = "PLANNED_TOTAL")
    private BigDecimal plannedTotal;
    @Column(value = "INDEED_TOTAL")
    private BigDecimal indeedTotal;
    @Column(value = "OVERDUE_DAYS")
    private int overdueDays;
    @Column(value = "LOAN_AMOUNT")
    private int loanAmount;
    @Column(value = "IS_OFFLINE")
    private int isOffline;
    @Column(value = "CONTRACT_STATUS")
    private String contractStatus;
    @Column(value = "DUE_DATE")
    private String dueDate;
    @Column(value = "REPAY_DATE")
    private Date repayDate;



    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Column(value = "UPDATE_TIME")
    private Date updateTime;

    public LoanRepayPlan() {
    }

    public LoanRepayPlan(String id, String loanNo, String custName, String repayStatus, String isOverdue, int loanInstalments, int phaseNumber,
                         BigDecimal plannedTotal, BigDecimal indeedTotal, int overdueDays, int loanAmount, int isOffline, String contractStatus, String dueDate, Date repayDate, Date updateTime) {
        this.id = id;
        this.loanNo = loanNo;
        this.custName = custName;
        this.repayStatus = repayStatus;
        this.isOverdue = isOverdue;
        this.loanInstalments = loanInstalments;
        this.phaseNumber = phaseNumber;
        this.plannedTotal = plannedTotal;
        this.indeedTotal = indeedTotal;
        this.overdueDays = overdueDays;
        this.loanAmount = loanAmount;
        this.isOffline = isOffline;
        this.contractStatus = contractStatus;
        this.dueDate = dueDate;
        this.repayDate = repayDate;
        this.updateTime = updateTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLoanNo() {
        return loanNo;
    }

    public void setLoanNo(String loanNo) {
        this.loanNo = loanNo;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getRepayStatus() {
        return repayStatus;
    }

    public void setRepayStatus(String repayStatus) {
        this.repayStatus = repayStatus;
    }

    public String getIsOverdue() {
        return isOverdue;
    }

    public void setIsOverdue(String isOverdue) {
        this.isOverdue = isOverdue;
    }

    public int getLoanInstalments() {
        return loanInstalments;
    }

    public void setLoanInstalments(int loanInstalments) {
        this.loanInstalments = loanInstalments;
    }

    public int getPhaseNumber() {
        return phaseNumber;
    }

    public void setPhaseNumber(int phaseNumber) {
        this.phaseNumber = phaseNumber;
    }

    public BigDecimal getPlannedTotal() {
        return plannedTotal;
    }

    public void setPlannedTotal(BigDecimal plannedTotal) {
        this.plannedTotal = plannedTotal;
    }

    public BigDecimal getIndeedTotal() {
        return indeedTotal;
    }

    public void setIndeedTotal(BigDecimal indeedTotal) {
        this.indeedTotal = indeedTotal;
    }

    public int getOverdueDays() {
        return overdueDays;
    }

    public void setOverdueDays(int overdueDays) {
        this.overdueDays = overdueDays;
    }

    public int getLoanAmount() {
        return loanAmount;
    }

    public void setLoanAmount(int loanAmount) {
        this.loanAmount = loanAmount;
    }

    public int getIsOffline() {
        return isOffline;
    }

    public void setIsOffline(int isOffline) {
        this.isOffline = isOffline;
    }

    public String getContractStatus() {
        return contractStatus;
    }

    public void setContractStatus(String contractStatus) {
        this.contractStatus = contractStatus;
    }

    @Override
    public String toString() {
        return "LoanRepayPlan{" +
                "id='" + id + '\'' +
                ", loanNo='" + loanNo + '\'' +
                ", custName='" + custName + '\'' +
                ", repayStatus='" + repayStatus + '\'' +
                ", isOverdue='" + isOverdue + '\'' +
                ", loanInstalments=" + loanInstalments +
                ", phaseNumber=" + phaseNumber +
                ", plannedTotal=" + plannedTotal +
                ", indeedTotal=" + indeedTotal +
                ", overdueDays=" + overdueDays +
                ", loanAmount=" + loanAmount +
                ", isOffline=" + isOffline +
                ", contractStatus='" + contractStatus + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }

    public String getDueDate() {
        return dueDate;
    }

    public void setDueDate(String dueDate) {
        this.dueDate = dueDate;
    }

    public Date getRepayDate() {
        return repayDate;
    }

    public void setRepayDate(Date repayDate) {
        this.repayDate = repayDate;
    }
}